package cn.pegasus.teamwork.pegasus.service;

import java.util.Map;

import cn.iyizhan.teamwork.base.service.BaseService;
import cn.iyizhan.teamwork.base.util.PageObject;
import cn.pegasus.teamwork.pegasus.entity.BussServiceProject;
import cn.pegasus.teamwork.pegasus.mapper.BussServiceProjectMapper;

/**
 * @author ryan.bian
 * @version 
 */
public interface BussServiceProjectService extends BaseService<BussServiceProject,BussServiceProjectMapper>  {
	
	//分页查询
	public PageObject<BussServiceProject> PageList(Map<String, Object> map);
	
	//查询详情
	public BussServiceProject findProjectInfo(Long id);
	
	//新增
	public void addProject(Long id,BussServiceProject map);
	
	//修改
	public void updateProject(Long id,BussServiceProject map);
	
	//删除
	public void delete(Long id,Long projectId);
	
	//查询名称
	public String findProjectName(Long id);
}
